package GameLoop;

import java.awt.Graphics2D;
import java.util.Map;

import vooga.core.event.EventManager;
import vooga.core.event.IEventHandler;
 
public abstract class FakeGameResources {
	protected EventManager em;
	protected AbstractScene curScene;
	protected Object gameResources;
	
	public FakeGameResources(EventManager em){
		this.em=em;
		
		em.registerEventHandler("AbstractScene.SceneComplete", new IEventHandler()
        {
            @Override
            public void handleEvent (Object o)
            {
                sceneComplete();
            }

        });
	}
	
	
	protected void sceneComplete(){
	}
	
	
	protected void poll(){
		if(curScene.uAndr.isSceneOver()){
			
			//TODO boolean method in config file
		}
		
		//TODO have game resources group actually implement this...we hope
	}
}
